package org.dromara.admin.domain.vo;

import org.dromara.admin.domain.ProductGroup;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 产品分组视图对象 bi_product_group
 *
 * @author Lion Li
 * @date 2025-10-18
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ProductGroup.class)
public class ProductGroupVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 分组唯一ID
     */
    @ExcelProperty(value = "分组唯一ID")
    private Long id;

    /**
     * 关联主体ID（分类归属主体，关联bi_company.id）
     */
    @ExcelProperty(value = "关联主体ID", converter = ExcelDictConvert.class)
    private Long companyId;

    /**
     * 分组名称
     */
    @ExcelProperty(value = "分组名称")
    private String groupName;

    /**
     * 排序序号（数字越小越靠前）
     */
    @ExcelProperty(value = "排序序号", converter = ExcelDictConvert.class)
    private Long sort;


}
